public class Demo002 {
    public static void main(String[] args) {
        TestDemo<String> stringTestDemo = new TestDemo<>();
        TestDemo<Integer> integerTestDemo = new TestDemo<>();
        //结果为true
        System.out.println(stringTestDemo.getClass()==integerTestDemo.getClass());
    }
}
